home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 July
/
EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso
/
earkit
/
mailer
/
voodoo
/
s
/
sendmails
< prev
next >
Wrap
Text File
|
1997-05-03
|
720b
|
29 lines
; Deliver all messages from a queue directory.
; Use "Copy %s to $SMTPSPOOLDIR >NIL:" as the Mailer in Voodoo
; Run this script when you want to have messages delivered
; Script by Domenig Weyerman
List to t:SMTPPostBatTempFile $SMTPSPOOLDIR/#? LFormat="SMTPPost $SMTPSPOOLDIR/%N >NIL:"
Resident AMITCP:bin/SMTPPost PURE
Echo "*N Start mailing..."
Execute t:SMTPPostBatTempFile
Echo "*N End of mailing..."
Delete t:SMTPPostBatTempFile QUIET
Resident SMTPPost REMOVE
RequestChoice >ENV:RCNum " Please advise me" " Hey $USER, *N Shall I delete all Files in SMTPSpoolDir ?" "Yes" "No"
If Val $RCNum EQ 0
Echo "*N*N Well, in this case keep ehm...*N"
quit
Endif
Delete $SMTPSPOOLDIR/#?
;EOF